import React from 'react'
import routerconfig from '../router'
import {useRoutes} from "react-router-dom"
import {Suspense} from "react"
function App() {
  return (
     <Suspense fallback={<div>...loading</div>}>
        {
          useRoutes(routerconfig)
        }
     </Suspense>
  )
}

export default App